<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>删除套餐</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">

    <link  type="text/css" rel="stylesheet" href="css/smartmenu2.css" >
    <script type="text/javascript" src="<%=basePath%>/jslib/index/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/jslib/index/smartmenu-min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/jslib/Menu.js"></script>
</head>
<style type="text/css">
    *{
        margin:0px;
        padding:0px;
    }
    #top{
        width:100%;
        height:33px;
        background:url(../../img/top.jpg);
    }
    body{
        background:#c5c5c5;
        font-family: Verdana,Geneva,sans-serif,"宋体";
    }
    #bottom{
        width:100%;
        height:46px;
        background:url(../../img/line.jpg);
        display:block;
        clear:left;
        position:absolute;
        bottom:0px;
    }
    #select{
        margin-bottom:10px;
    }
    #select table{
        margin:auto;
    }
    #select table tr td select{
        width:200px;
        height:30px;
        font-size:16px;
    }
    #select table tr #name{
        width:200px;
        height:30px;
        margin-right:10px;
        border:1px solid #2a94c8;
        font-size:16px;
    }
    .btn{
        cursor:pointer;
        margin-left:10px;
        width:90px;
        height:30px;
        border:1px solid #338b17;
        font-weight:sold;
        font-size:20px;
        color:white;
        background:#60d13c;

    }
    .btn:hover{
        background:#1e8e04;
    }
    #show table{
        margin:auto;
        border:none;
    }
    #show table tr td{
        height:30px;
        padding-left:5px;
        padding-right:5px;
        border:1px solid #2a94c8;
    }
    #delete{
        margin-top:10px;
    }
    #delete table{
        margin:auto;
        padding-bottom:10px;
        border:none;
    }
    #delete table tr td {
        height:30px;
        margin-right:10px;
        border:1px solid #2a94c8;
        font-size:16px;
    }
</style>
<body style="text-align: center;">
<%@ include file="/page/share/menu.jsp" %>
<form action="Meal!findSpecialMeal.action?flag=2" method="post" id="select">
    <table align="center" cellspacing="0px">
        <tr>
            <td>
                套餐名称:
            </td>
            <td>
                <input type="text" name="mealName" size="15" id="name"/>
            </td>
            <td>
                节假日:
                <select name="holiday">
                    <option value="">--请选择--</option>
                    <option value="假日">假日（周五20:00-周日20:00以及法定假期）</option>
                    <option value="平日">平日（周日20:00-周四20:00）</option>
                </select>
            </td>
            <td>
                <input type="submit" name="suer" size="15" value="确认" class="btn"/>
            </td>
            <td>
                <input type="reset" name="re" size="15" value="重设" class="btn"/>
            </td>
    </table>
</form>
<form method="post" id="show">
    <table align="center" border="1" cellspacing="0">
        <thead align="center">
        <tr>
            <td>
                套餐名称
            </td>
            <td>
                节假日
            </td>
            <td>
                套餐使用开始时间
            </td>
            <td>
                套餐使用结束时间
            </td>
            <td>
                情侣房价格
            </td>
            <td>
                标准房价格
            </td>
            <td>
                中房价格
            </td>
            <td>
                大房价格
            </td>
            <td>
                VIP房价格
            </td>
        </tr>
        </thead>
        <tr>
            <s:iterator value="meal" var="m">
        <tr>
            <td>
                <s:property value="#m.mealName"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.holiday"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.beginTime"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.endTime"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.coupleRoomPrice"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.standardRoomPrice"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.middleRoomPrice"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.bigRoomPrice"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.vipRoomPrice"/>
                &nbsp;
            </td>
        </tr>
        </s:iterator>

        </tr>
    </table>
</form>
<form method="post" action="Meal!deleteMeal.action" id="delete">
    <table align="center" border="1" cellspacing="0">
        <tr>
            <td>
                套餐名称:
            </td>
            <td>
                <s:property value="#m.mealName"/>
                &nbsp;
                <input type="hidden" name="mealId" size="15"
                       value="<s:property value='#m.mealId'/>"/>
            </td>
        </tr>
    </table>


    <input type="submit" name="sure" value="确定" class="btn">

    <input type="button" value="返回" onClick="javascript:history.go(-1);" class="btn">

</form>
<div id="bottom"></div>
</body>
</html>
